package com.min.star.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.min.star.model.Student;

@Mapper
public interface StudentMapper extends BaseMapper<Student>{

	Student login(@Param("student") Student student);

	public List<Student> selectStudentList();
	
	public Page<Student> findPage(@Param("page") Page<Student> page, @Param("student") Student student);

	int editInfo(@Param("name") Object name,@Param("value") Object value,@Param("id") Object id);

}
